#region license
/*
 * Copyright (C) 2007 CchenSoft.com
 * 
 * This library is free software; you can redistribute it and/or modify it 
 * under the terms of the GNU Lesser General Public License 2.1 or later, as
 * published by the Free Software Foundation. See the included License.txt
 * or http://www.gnu.org/copyleft/lesser.html for details.
 * 
 * Author: Billy Zhang
 */
#endregion

using System;
using System.Collections.Generic;
using System.Text;

namespace CchenSoft.Portal.Search
{
    public class MappingEntry
    {
        private Type indexType;
        private FieldEntry keyField;
        private IList<FieldEntry> fields;
        private string indexFolder;
        private string searchFields;

        public Type IndexType
        {
            get { return indexType; }
            set { indexType = value; }
        }

        public FieldEntry KeyField
        {
            get { return keyField; }
            set { keyField = value; }
        }

        public IList<FieldEntry> Fields
        {
            get { return fields; }
            set { fields = value; }
        }

        public string IndexFolder
        {
            get { return indexFolder; }
            set { indexFolder = value; }
        }

        public string SearchFields
        {
            get { return searchFields; }
            set { searchFields = value; }
        }
    }
}
